package com.qf.spring.anno.service;

import com.qf.spring.anno.entity.User;

import java.util.List;

/**
 * @author nk
 * @date 2022/4/27 21:11
 */
public interface UserService {
    User login(String name, String password);

    List<User> selectAll();

    int addUser(User user);

    int updateUser(User user);

    int deleteUser(Integer id);


}
